package cn.yoyo.mapper;

import cn.yoyo.entity.Cart;
import cn.yoyo.entity.CartBook;

import java.util.List;
import java.util.Map;

public interface CartMapper {
    public List<CartBook> findAll(Integer uid);

    public int add(Map<String, Object> map);

    public int update(Map<String, Object> map);

    public int delete(Integer id);
}
